
<div>
    <h2><span data-translate="gatewayApp.token.detail.title">Token</span> {{vm.token.id}}</h2>
    <hr>
    <jhi-alert-error></jhi-alert-error>
    <dl class="dl-horizontal jh-entity-details">
        <dt><span data-translate="gatewayApp.token.accessToken">Access Token</span></dt>
        <dd>
            <span>{{vm.token.accessToken}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.token.expiresIn">Expires In</span></dt>
        <dd>
            <span>{{vm.token.expiresIn}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.token.time">Time</span></dt>
        <dd>
            <span>{{vm.token.time}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.token.tokenType">Token Type</span></dt>
        <dd>
            <span data-translate="{{'gatewayApp.TokenType.' + vm.token.tokenType}}">{{vm.token.tokenType}}</span>
        </dd>
        <dt><span data-translate="gatewayApp.token.mp">Mp</span></dt>
        <dd>
            <a ui-sref="mp-detail({id:vm.token.mpId})">{{vm.token.mpId}}</a>
        </dd>
    </dl>

    <button type="submit"
            ui-sref="{{ vm.previousState }}"
            class="btn btn-info">
        <span class="glyphicon glyphicon-arrow-left"></span>&nbsp;<span data-translate="entity.action.back"> Back</span>
    </button>

    <button type="button" ui-sref="token-detail.edit({id:vm.token.id})" class="btn btn-primary">
        <span class="glyphicon glyphicon-pencil"></span>
        <span class="hidden-xs hidden-sm" data-translate="entity.action.edit"> Edit</span>
    </button>
</div>
